package com.ruoyi.mes.systembasic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商管理对象 smes_supplier
 *
 * @author simpsense
 * @date 2020-11-26
 */
public class SmesSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 供应商代码 */
    @Excel(name = "供应商代码")
    private String supplierNo;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 快捷码 */
    @Excel(name = "快捷码")
    private String shortcutCode;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String address;

    /** 供应商联系人 */
    @Excel(name = "供应商联系人")
    private String contactor;

    /** 供应商移动电话 */
    @Excel(name = "供应商移动电话")
    private String telephoneNumber;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String phonenumber;

    /** 供应商是否冻结 */
    @Excel(name = "供应商是否冻结")
    private String frozenFlag;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String deleteFlag;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setSupplierNo(String supplierNo)
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo()
    {
        return supplierNo;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setShortcutCode(String shortcutCode)
    {
        this.shortcutCode = shortcutCode;
    }

    public String getShortcutCode()
    {
        return shortcutCode;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setContactor(String contactor)
    {
        this.contactor = contactor;
    }

    public String getContactor()
    {
        return contactor;
    }
    public void setTelephoneNumber(String telephoneNumber)
    {
        this.telephoneNumber = telephoneNumber;
    }

    public String getTelephoneNumber()
    {
        return telephoneNumber;
    }
    public void setPhonenumber(String phonenumber)
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber()
    {
        return phonenumber;
    }
    public void setFrozenFlag(String frozenFlag)
    {
        this.frozenFlag = frozenFlag;
    }

    public String getFrozenFlag()
    {
        return frozenFlag;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("supplierNo", getSupplierNo())
                .append("supplierName", getSupplierName())
                .append("shortcutCode", getShortcutCode())
                .append("address", getAddress())
                .append("contactor", getContactor())
                .append("telephoneNumber", getTelephoneNumber())
                .append("phonenumber", getPhonenumber())
                .append("frozenFlag", getFrozenFlag())
                .append("deleteFlag", getDeleteFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}